#include "Symbol.h"
#include <stdio.h>

class Coff {
	Symbol **symTable;	// Dinamic allocated symbol table
	FILE *file;
	CoffHeader header;	// header readed from file
public:
	Coff(const char *filename); // TODO: open file and read header
	~Coff();					// TODO: close file
	bool error()				{ return file==NULL; }
	Symbol * getSymbol(int num)	{ return symTable[num]; }
	int numOfSections()			{ return header.nSections; }
	void loadSymbols();			// TODO	
	SymIterator * SymIterator();// TODO
	// ...  Add more methods
};
